package homowork01;

public class Palindrome {
public static void main(String[] args) {

for (int i = 10000; i < 100000; i++) {
	int a   = i % 10;
	int b  = i / 10 % 10;
	int c = i / 10 / 10 / 10 % 10;
	int d  = i / 10 / 10 / 10 / 10 % 10;

	if(a == d && c == b){
		System.out.print(i + "\t");
	}
}
}
}
